import request from '../utils/request'

export const getPage = (params: any) => request({
    method: 'get',
    url: '/article/page',
    params
})
export const deleteArticle = (params: any) =>request({
    method: 'post',
    url: '/article/delete',
    data:params
})
export const getComPage = (params: any) =>request({
    method: 'get',
    url: '/article/comPage',
    params
})
export const deleteCom = (params: any) =>request({
    method: 'post',
    url: '/article/deleteCom',
    data:params
})